package com.wooshow.base.struts;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.opensymphony.xwork2.ActionSupport;
import com.wooshow.base.biz.SayHello;

public class OnlyOneAction extends ActionSupport {

	private static final long serialVersionUID = 7564798472045774353L;

	private static Log log = LogFactory.getLog(OnlyOneAction.class);
	
	private SayHello sayHello;
	
    public String execute() throws Exception {
    	log.info(sayHello.sayHello(OnlyOneAction.class));
	    return super.execute();
    }

	public SayHello getSayHello() {
    	return sayHello;
    }

	public void setSayHello(SayHello sayHello) {
    	this.sayHello = sayHello;
    }

}
